var _EsdDynamicTransformationFunction = function($){
/**
 * 命名空间定义
 */
var _EsdDynamicTransformationScript = {};
_EsdDynamicTransformationScript.navBlock = {}; // 定义区域跳转类
_EsdDynamicTransformationScript.navBlock.selector = {};
/**
 * 文本链接 a
 */
//保证所有a标签都有href
$("a").each(function(){

	var aHref = this.href;
	if( aHref=="" || aHref==undefined ){
			$(this).attr("href","javascript:void(0)");
	}
	
	//给a标签加title
	var aTitle = this.title;
	var aText = this.text;
	
	if( aTitle=="" || aTitle==undefined ){
		if( aText!="" || aText!=undefined ){
			$(this).attr("title",$.trim(aText));
		}
	}
	
});
/**
 * 图片处理片段
 */

$('img[src="./images/bwcx03.png"]').attr('title','不忘初心牢记使命').attr('alt','不忘初心牢记使命');$('img[src="./images/bs_icon17.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="../images/bwcx03.jpg"]').attr('title','百城千业万企对标达标提升专项行动平台').attr('alt','百城千业万企对标达标提升专项行动平台');$('img[src="../images/jgtzsb.png"]').attr('title','特种设备动态监管').attr('alt','特种设备动态监管');$('img[src="../images/fw2-btn1_fwdt.png"]').attr('title','服务大厅').attr('alt','服务大厅');$('img[src="./images/fw2-btn6.png"]').attr('title','12315网上受理与投诉公示').attr('alt','12315网上受理与投诉公示');$('img[src="../images/zcfg02.png"]').attr('title','政策法规').attr('alt','政策法规');$('img[src="./images/ztzlqs.png"]').attr('title','质量强省').attr('alt','质量强省');$('img[src="./xw/tpxw/201911/W020191212350458146192.jpg"]').attr('title','省厅开展“知识产权科普进校园”活动').attr('alt','省厅开展“知识产权科普进校园”活动');$('img[src="./images/bs_icon9.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="../images/bcqcwq03.jpg"]').attr('title','商事制度改革').attr('alt','商事制度改革');$('img[src="./jg/tld/201901/W020190920517073056041.jpg"]').attr('title','刘化文照片').attr('alt','刘化文照片');$('img[src="./images/bs_icon10.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/ztxdpt.png"]').attr('title','百城千业万企对标达标提升专项行动平台').attr('alt','百城千业万企对标达标提升专项行动平台');$('img[src="./images/bs_icon8.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/bs_icon14.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/bs_icon12.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./xw/tpxw/201908/W020190923770243798115.jpg"]').attr('title','吉林省进一步支持个体工商户转型升级为企业的若干政策措施新闻发布会').attr('alt','吉林省进一步支持个体工商户转型升级为企业的若干政策措施新闻发布会');$('img[src="./images/jgbtn2.png"]').attr('title','领导信箱').attr('alt','领导信箱');$('img[src="./images/nav-szf-btn.png"]').attr('title','省政府').attr('alt','省政府');$('img[src="../images/fwTopIcon7.png"]').attr('title','吉林省食品药品综合信息平台').attr('alt','吉林省食品药品综合信息平台');$('img[src="./images/bs_icon6.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/bs_icon13.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/fw2-btn4.png"]').attr('title','小微企业扶持').attr('alt','小微企业扶持');$('img[src="./images/bs_icon15.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="../images/jgxzcf.png"]').attr('title','行政处罚信息公示').attr('alt','行政处罚信息公示');$('img[src="./images/ztsszdgg.png"]').attr('title','商事制度改革').attr('alt','商事制度改革');$('img[src="./images/bs_icon16.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/bs_icon4.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./xw/tpxw/201912/W020191213366844110718.png"]').attr('title','国家市场监管总局来我省开展执法稽查领域专题调研').attr('alt','国家市场监管总局来我省开展执法稽查领域专题调研');$('img[src="./images/bwcx.jpg"]').attr('title','不忘初心').attr('alt','不忘初心');$('img[src="./images/ztfgdj.png"]').attr('title','非公党建工作').attr('alt','非公党建工作');$('img[src="../images/fgdj03.jpg"]').attr('title','非公党建工作').attr('alt','非公党建工作');$('img[src="./images/jiliang.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="../images/hfzq.png"]').attr('title','回复专区').attr('alt','回复专区');$('img[src="./images/fw2-btn1_new.png"]').attr('title','吉林省市场主体e窗通').attr('alt','吉林省市场主体e窗通');$('img[src="./xw/tpxw/201907/W020190923769665839130.png"]').attr('title','吉林省惠企惠民政策手册').attr('alt','吉林省惠企惠民政策手册');$('img[src="./fw/wsbl/159024/images/P020191115554662382807.png"]').attr('title','经营性网站电子链接标识申领').attr('alt','经营性网站电子链接标识申领');$('img[src="./images/footerImg1.png"]').attr('title','党政机关图标').attr('alt','党政机关图标');$('img[src="./images/ztkpxc.png"]').attr('title','科普宣传').attr('alt','科普宣传');$('img[src="./images/jgbtn1.png"]').attr('title','机构设置').attr('alt','机构设置');$('img[src="./images/bs_icon11.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/footerImg2.png"]').attr('title','政府网站找错').attr('alt','政府网站找错');$('img[src="./images/fw2-btn7.png"]').attr('title','吉林省食品药品综合信息平台').attr('alt','吉林省食品药品综合信息平台');$('img[src="./images/jsjf.png"]').attr('title','减税降费').attr('alt','减税降费');$('img[src="./images/bs_icon5.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/ztfpgj.png"]').attr('title','扶贫攻坚').attr('alt','扶贫攻坚');$('img[src="../images/fpgj03.jpg"]').attr('title','商事制度改革').attr('alt','商事制度改革');$('img[src="../images/wsxf.png"]').attr('title','咨询建言').attr('alt','咨询建言');$('img[src="./images/04170234d0ot.png"]').attr('title','吉林省知识产权').attr('alt','吉林省知识产权');$('img[src="./images/fw2-btn3.png"]').attr('title','企业信用公示平台（网上年报）').attr('alt','企业信用公示平台（网上年报）');$('img[src="./images/nav-gwy-btn.png"]').attr('title','国务院').attr('alt','国务院');
$('img[src="./xw/tpxw/202001/W020200126686968591549.png"]').attr('title','国务院办公厅向全社会征集！疫情防控不力、缓报瞒报的线索，加强改进的建议').attr('alt','国务院办公厅向全社会征集！疫情防控不力、缓报瞒报的线索，加强改进的建议');
$('img[src="./xw/tpxw/202002/W020200206590526031916.jpg"]').attr('title','省厅召开联合打击野生动物非法交易专项执法行动,暨联合打击非法制售口罩等防护产品专项执法行动视频会议').attr('alt','省厅召开联合打击野生动物非法交易专项执法行动,暨联合打击非法制售口罩等防护产品专项执法行动视频会议');
$('img[src="./ztzl/sbxd/images/P020200221330949855347.png"]').attr('title','三保行动我们一起出发').attr('alt','三保行动我们一起出发');


//img
$("img").each(function(){
	//给图片加alt/title
	var imgAlt = this.alt,
		imgTitle = this.title,
		imgSrc = this.src,
		parentText = this.parentElement.text;

	if(this.alt=="" || this.alt==undefined){
		if(imgTitle!="" && imgTitle!=undefined){
			$(this).attr("alt",imgTitle);
		}else if(parentText!="" && parentText!=undefined){
			$(this).attr("alt",parentText);
		}
	}
	if(this.title=="" || this.title==undefined){
		if(imgAlt!="" && imgAlt!=undefined){
			$(this).attr("title",imgAlt);
		}else if(parentText!="" && parentText!=undefined){
			$(this).attr("title",parentText);
		}
	}
})

$("img").each(function(){
	if( (this.alt=="" && this.title=="")||(this.alt==undefined && this.title==undefined) ){
		$(this).attr("title","图片");
		$(this).attr("alt","图片");
	}
})
/**
 * 共通头部
 */
$(".search input[type='submit']").attr("title","查询");
//------------------------------------------------导航处理代码-------------------------------

_EsdDynamicTransformationScript.navTabChange = function (focusObjSelector, listObjSelector, mouseEventObjSelector, keyDownNum, listElementsSelector, prevMouseEventObjSelector, prevListObjsSelector) {
    var keydownName = "keydown.navKeydown_" + keyDownNum;
    var keydownName2 = keydownName + "_1";
    $(focusObjSelector).focus(function () {
		if ($(listObjSelector).is(":hidden")) {
			$(mouseEventObjSelector).mouseover();
		}
        $(this).bind(keydownName, function (e) {
            if (e.shiftKey && e.keyCode == 9) {
                if (prevMouseEventObjSelector != "") {
					$(focusObjSelector).mouseout();
					$(prevMouseEventObjSelector+" ul").mouseover();
					$(prevListObjsSelector).last().focus();
					$(this).unbind(keydownName);  // 失去焦点时解绑有问题在这解绑一次
					return false;
                } else{
					$(focusObjSelector).mouseout();
					$(this).unbind(keydownName);  // 失去焦点时解绑有问题在这解绑一次
				}
            } else if (e.keyCode == 9) {
				
            }
        });

    });
    $(focusObjSelector).blur(function () {
        $(this).unbind(keydownName);
    });
	
    $(listElementsSelector).last().focus(function () {
        $(this).bind(keydownName2, function (e) {
            if (e.shiftKey && e.keyCode == 9) {
            } else if (e.keyCode == 9) {
                $(mouseEventObjSelector).mouseout();
            }
        });
    });
    $(listElementsSelector).last().blur(function () {
        $(this).unbind(keydownName2);
    });
};


_EsdDynamicTransformationScript.navArray = new Array();

// 导航第一个栏目
_EsdDynamicTransformationScript.nav1 = {}
_EsdDynamicTransformationScript.nav1.focusObjSelector = ".nav .nav_list>li>a:eq(1)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav1.listObjSelector = ".nav .nav_list>li>a:eq(1)+div.subNav"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示  
_EsdDynamicTransformationScript.nav1.mouseEventObjSelector = ".nav .nav_list>li:eq(1)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav1.keyDownNum = 1; // keydown事件标识  最好不要重复 
_EsdDynamicTransformationScript.nav1.listElementsSelector = ".nav .nav_list>li>a:eq(1)+div.subNav a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav1.prevMouseEventObjSelector = ""; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav1.prevListObjsSelector = ""; // 上一个相邻的展示列表中a链接的选择器
_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav1);  // 放到数组里循环

// 导航第二个栏目
_EsdDynamicTransformationScript.nav2 = {}
_EsdDynamicTransformationScript.nav2.focusObjSelector = ".nav .nav_list>li>a:eq(2)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav2.listObjSelector = ".nav .nav_list>li>a:eq(2)+div.subNav"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示  
_EsdDynamicTransformationScript.nav2.mouseEventObjSelector = ".nav .nav_list>li:eq(2)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav2.keyDownNum = 2; // keydown事件标识  最好不要重复 
_EsdDynamicTransformationScript.nav2.listElementsSelector = ".nav .nav_list>li>a:eq(2)+div.subNav a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav2.prevMouseEventObjSelector = ".nav .nav_list>li:eq(1)";; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav2.prevListObjsSelector = ".nav .nav_list>li>a:eq(1)+div.subNav a"; // 上一个相邻的展示列表中a链接的选择器
_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav2);  // 放到数组里循环

// 导航第3个栏目
_EsdDynamicTransformationScript.nav3 = {}
_EsdDynamicTransformationScript.nav3.focusObjSelector = ".nav .nav_list>li>a:eq(3)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav3.listObjSelector = ".nav .nav_list>li>a:eq(3)+div.subNav"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示  
_EsdDynamicTransformationScript.nav3.mouseEventObjSelector = ".nav .nav_list>li:eq(3)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav3.keyDownNum = 3; // keydown事件标识  最好不要重复 
_EsdDynamicTransformationScript.nav3.listElementsSelector = ".nav .nav_list>li>a:eq(3)+div.subNav a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav3.prevMouseEventObjSelector = ".nav .nav_list>li:eq(2)";; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav3.prevListObjsSelector = ".nav .nav_list>li>a:eq(2)+div.subNav a"; // 上一个相邻的展示列表中a链接的选择器
_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav3);  // 放到数组里循环


// 导航第4个栏目
_EsdDynamicTransformationScript.nav4 = {}
_EsdDynamicTransformationScript.nav4.focusObjSelector = ".nav .nav_list>li>a:eq(4)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav4.listObjSelector = ".nav .nav_list>li>a:eq(4)+div.subNav"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示  
_EsdDynamicTransformationScript.nav4.mouseEventObjSelector = ".nav .nav_list>li:eq(4)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav4.keyDownNum = 4; // keydown事件标识  最好不要重复 
_EsdDynamicTransformationScript.nav4.listElementsSelector = ".nav .nav_list>li>a:eq(4)+div.subNav a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav4.prevMouseEventObjSelector = ".nav .nav_list>li:eq(3)";; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav4.prevListObjsSelector = ".nav .nav_list>li>a:eq(3)+div.subNav a"; // 上一个相邻的展示列表中a链接的选择器
_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav4);  // 放到数组里循环


// 导航第5个栏目
_EsdDynamicTransformationScript.nav5 = {}
_EsdDynamicTransformationScript.nav5.focusObjSelector = ".nav .nav_list>li>a:eq(5)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav5.listObjSelector = ".nav .nav_list>li>a:eq(5)+div.subNav"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示  
_EsdDynamicTransformationScript.nav5.mouseEventObjSelector = ".nav .nav_list>li:eq(5)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav5.keyDownNum = 5; // keydown事件标识  最好不要重复 
_EsdDynamicTransformationScript.nav5.listElementsSelector = ".nav .nav_list>li>a:eq(5)+div.subNav a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav5.prevMouseEventObjSelector = ".nav .nav_list>li:eq(4)";; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav5.prevListObjsSelector = ".nav .nav_list>li>a:eq(4)+div.subNav a"; // 上一个相邻的展示列表中a链接的选择器
_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav5);  // 放到数组里循环


// 导航第6个栏目
_EsdDynamicTransformationScript.nav6 = {}
_EsdDynamicTransformationScript.nav6.focusObjSelector = ".nav .nav_list>li>a:eq(6)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav6.listObjSelector = ".nav .nav_list>li>a:eq(6)+div.subNav"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示  
_EsdDynamicTransformationScript.nav6.mouseEventObjSelector = ".nav .nav_list>li:eq(6)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav6.keyDownNum = 6; // keydown事件标识  最好不要重复 
_EsdDynamicTransformationScript.nav6.listElementsSelector = ".nav .nav_list>li>a:eq(6)+div.subNav a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav6.prevMouseEventObjSelector = ".nav .nav_list>li:eq(5)";; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav6.prevListObjsSelector = ".nav .nav_list>li>a:eq(5)+div.subNav a"; // 上一个相邻的展示列表中a链接的选择器
_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav6);  // 放到数组里循环

// 导航第7个栏目
_EsdDynamicTransformationScript.nav7 = {}
_EsdDynamicTransformationScript.nav7.focusObjSelector = ".nav .nav_list>li>a:eq(7)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav7.listObjSelector = ".nav .nav_list>li>a:eq(7)+div.subNav"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示  
_EsdDynamicTransformationScript.nav7.mouseEventObjSelector = ".nav .nav_list>li:eq(7)"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav7.keyDownNum = 7; // keydown事件标识  最好不要重复 
_EsdDynamicTransformationScript.nav7.listElementsSelector = ".nav .nav_list>li>a:eq(7)+div.subNav a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav7.prevMouseEventObjSelector = ".nav .nav_list>li:eq(6)";; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav7.prevListObjsSelector = ".nav .nav_list>li>a:eq(6)+div.subNav a"; // 上一个相邻的展示列表中a链接的选择器
_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav7);  // 放到数组里循环


for(var i=0; i<_EsdDynamicTransformationScript.navArray.length; i++){
	_EsdDynamicTransformationScript.navTabChange(_EsdDynamicTransformationScript.navArray[i].focusObjSelector, _EsdDynamicTransformationScript.navArray[i].listObjSelector, 
		_EsdDynamicTransformationScript.navArray[i].mouseEventObjSelector, _EsdDynamicTransformationScript.navArray[i].keyDownNum, _EsdDynamicTransformationScript.navArray[i].listElementsSelector,
		_EsdDynamicTransformationScript.navArray[i].prevMouseEventObjSelector, _EsdDynamicTransformationScript.navArray[i].prevListObjsSelector);
}


//第一部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num1 = $(".nav .nav_list>li:eq(2) .subNav .mol_tabs .modal-list #subNavGzdt a").length-1;
_EsdDynamicTransformationScript.num2 = $(".nav .nav_list>li:eq(2) .subNav .mol_tabs .modal-list #subNavJcdt a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd1TagNum1 = $(".nav .nav_list>li:eq(2) .subNav .mol_tabs .modal-tit a:eq(0)");
_EsdDynamicTransformationScript.esd1TagNum2 = $(".nav .nav_list>li:eq(2) .subNav .mol_tabs .modal-tit a:eq(1)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd1TagNum1Content1 = $(".nav .nav_list>li:eq(2) .subNav .mol_tabs .modal-list #subNavGzdt a:eq(1)");
_EsdDynamicTransformationScript.esd1TagNum2Content1 = $(".nav .nav_list>li:eq(2) .subNav .mol_tabs .modal-list #subNavJcdt a:eq(1)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd1TagNum1ContentN = $(".nav .nav_list>li:eq(2) .subNav .mol_tabs .modal-list #subNavGzdt a:eq("+_EsdDynamicTransformationScript.num1+")");
_EsdDynamicTransformationScript.esd1TagNum2ContentN = $(".nav .nav_list>li:eq(2) .subNav .mol_tabs .modal-list #subNavJcdt a:eq("+_EsdDynamicTransformationScript.num2+")");

//第一块
_EsdDynamicTransformationScript.esd1TagNum1.focus(function (e) {
	
	e = $(this).mouseover();
	$(this).bind("keydown.keydown_1", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			//_EsdDynamicTransformationScript.esd1TagNum1.trigger("blur");
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd1TagNum1Content1.focus();
			console.log(document.activeElement);
			//_EsdDynamicTransformationScript.esd1TagNum1.trigger("blur");
			return false;
		}
	});

});
_EsdDynamicTransformationScript.esd1TagNum1.blur(function () {
	$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd1TagNum1Content1.focus(function () {
	$(this).bind("keydown.keydown_s1", function (e) {
		if (e.shiftKey && e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd1TagNum1.focus();
			_EsdDynamicTransformationScript.esd1TagNum1Content1.trigger("blur");
			return false;
		}else if (e.keyCode == 9) {
			//_EsdDynamicTransformationScript.esd1TagNum1Content1.trigger("blur");
		}
	});
});
_EsdDynamicTransformationScript.esd1TagNum1Content1.blur(function () {
	$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus(function () {
	$(this).bind("keydown.keydown_e1", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			//_EsdDynamicTransformationScript.esd1TagNum1ContentN.trigger("blur");
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd1TagNum2.focus();
			//_EsdDynamicTransformationScript.esd1TagNum1ContentN.trigger("blur");
			return false;
		}
	});
});
_EsdDynamicTransformationScript.esd1TagNum1ContentN.blur(function () {
	$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd1TagNum2.focus(function (e) {
	e = $(this).mouseover();
	$(this).bind("keydown.keydown_2", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd1TagNum1.mouseover();
			_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus();
			//_EsdDynamicTransformationScript.esd1TagNum2.trigger("blur");
			return false;
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd1TagNum2Content1.focus();
			console.log(document.activeElement);
			//_EsdDynamicTransformationScript.esd1TagNum2.trigger("blur");
			return false;
		}
	});

});
_EsdDynamicTransformationScript.esd1TagNum2.blur(function () {
	$(this).unbind("keydown.keydown_2");
});

_EsdDynamicTransformationScript.esd1TagNum2Content1.focus(function () {
	$(this).bind("keydown.keydown_s2", function (e) {
		if (e.shiftKey && e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd1TagNum2.focus();
			_EsdDynamicTransformationScript.esd1TagNum2Content1.trigger("blur");
			return false;
		}else if (e.keyCode == 9) {
			//_EsdDynamicTransformationScript.esd1TagNum2Content1.trigger("blur");
		}
	});
});
_EsdDynamicTransformationScript.esd1TagNum2Content1.blur(function () {
	$(this).unbind("keydown.keydown_s2");
});

//第二部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num3 = $(".nav .nav_list>li:eq(3) .subNav .mol_tabs .modal-list #subNavgsgg a").length-1;
_EsdDynamicTransformationScript.num4 = $(".nav .nav_list>li:eq(3) .subNav .mol_tabs .modal-list #subNavzxtz a").length-1;
_EsdDynamicTransformationScript.num5 = "";

//各个选项名称
_EsdDynamicTransformationScript.esd2TagNum1 = $(".nav .nav_list>li:eq(3) .subNav .mol_tabs .modal-tit a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum2 = $(".nav .nav_list>li:eq(3) .subNav .mol_tabs .modal-tit a:eq(1)");
_EsdDynamicTransformationScript.esd2TagNum3 = $(".nav .nav_list>li:eq(3) .subNav .mol_tabs .modal-tit a:eq(2)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd2TagNum1Content1 = $(".nav .nav_list>li:eq(3) .subNav .mol_tabs .modal-list #subNavgsgg a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum2Content1 = $(".nav .nav_list>li:eq(3) .subNav .mol_tabs .modal-list #subNavzxtz a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum3Content1 = $(".nav .nav_list>li:eq(3) .subNav .subNav_mol_zw_center a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd2TagNum1ContentN = $(".nav .nav_list>li:eq(3) .subNav .mol_tabs .modal-list #subNavgsgg a:eq("+_EsdDynamicTransformationScript.num3+")");
_EsdDynamicTransformationScript.esd2TagNum2ContentN = $(".nav .nav_list>li:eq(3) .subNav .mol_tabs .modal-list #subNavzxtz a:eq("+_EsdDynamicTransformationScript.num4+")");
_EsdDynamicTransformationScript.esd2TagNum3ContentN = "";

//第一块
_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {
	
	e = $(this).mouseover();
	$(this).bind("keydown.keydown_1", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			//_EsdDynamicTransformationScript.esd2TagNum1.trigger("blur");
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
			console.log(document.activeElement);
			//_EsdDynamicTransformationScript.esd2TagNum1.trigger("blur");
			return false;
		}
	});

});
_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {
	$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
	$(this).bind("keydown.keydown_s1", function (e) {
		if (e.shiftKey && e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd2TagNum1.focus();
			_EsdDynamicTransformationScript.esd2TagNum1Content1.trigger("blur");
			return false;
		}else if (e.keyCode == 9) {
			//_EsdDynamicTransformationScript.esd2TagNum1Content1.trigger("blur");
		}
	});
});
_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
	$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
	$(this).bind("keydown.keydown_e1", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			//_EsdDynamicTransformationScript.esd2TagNum1ContentN.trigger("blur");
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd2TagNum2.focus();
			//_EsdDynamicTransformationScript.esd2TagNum1ContentN.trigger("blur");
			return false;
		}
	});
});
_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
	$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
	
	e = $(this).mouseover();
	$(this).bind("keydown.keydown_2", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
			_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
			//_EsdDynamicTransformationScript.esd2TagNum2.trigger("blur");
			return false;
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
			console.log(document.activeElement);
			//_EsdDynamicTransformationScript.esd2TagNum2.trigger("blur");
			return false;
		}
	});

});
_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
	$(this).unbind("keydown.keydown_2");
});

_EsdDynamicTransformationScript.esd2TagNum2Content1.focus(function () {
	$(this).bind("keydown.keydown_s2", function (e) {
		if (e.shiftKey && e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd2TagNum2.focus();
			_EsdDynamicTransformationScript.esd2TagNum2Content1.trigger("blur");
			return false;
		}else if (e.keyCode == 9) {
			//_EsdDynamicTransformationScript.esd2TagNum2Content1.trigger("blur");
		}
	});
});
_EsdDynamicTransformationScript.esd2TagNum2Content1.blur(function () {
	$(this).unbind("keydown.keydown_s2");
});

_EsdDynamicTransformationScript.esd2TagNum2ContentN.focus(function () {
	$(this).bind("keydown.keydown_e2", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			//_EsdDynamicTransformationScript.esd2TagNum2ContentN.trigger("blur");
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd2TagNum3.focus();
			//_EsdDynamicTransformationScript.esd2TagNum2ContentN.trigger("blur");
			return false;
		}
	});
});
_EsdDynamicTransformationScript.esd2TagNum2ContentN.blur(function () {
	$(this).unbind("keydown.keydown_e2");
});


//第三块
_EsdDynamicTransformationScript.esd2TagNum3.focus(function (e) {
	e = $(this).mouseover();
	$(this).bind("keydown.keydown_3", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd2TagNum2.mouseover();
			_EsdDynamicTransformationScript.esd2TagNum2ContentN.focus();
			//_EsdDynamicTransformationScript.esd2TagNum3.trigger("blur");
			return false;
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd2TagNum3Content1.focus();
			console.log(document.activeElement);
			//_EsdDynamicTransformationScript.esd2TagNum3.trigger("blur");
			return false;
		}
	});

});
_EsdDynamicTransformationScript.esd2TagNum3.blur(function () {
	$(this).unbind("keydown.keydown_3");
});


//第三部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num6 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-list #subNavCpzlcc a").length-1;
_EsdDynamicTransformationScript.num7 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-list #subNavSpcj a").length-1;
_EsdDynamicTransformationScript.num8 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-list #subNavBjspxxba a").length-1;
_EsdDynamicTransformationScript.num9 = "";

//各个选项名称
_EsdDynamicTransformationScript.esd3TagNum1 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-tit a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum2 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-tit a:eq(1)");
_EsdDynamicTransformationScript.esd3TagNum3 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-tit a:eq(2)");
_EsdDynamicTransformationScript.esd3TagNum4 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-tit a:eq(3)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd3TagNum1Content1 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-list #subNavCpzlcc a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum2Content1 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-list #subNavSpcj a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum3Content1 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-list #subNavBjspxxba a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum4Content1 = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs:eq(1) a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd3TagNum1ContentN = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-list #subNavCpzlcc a:eq("+_EsdDynamicTransformationScript.num6+")");
_EsdDynamicTransformationScript.esd3TagNum2ContentN = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-list #subNavSpcj a:eq("+_EsdDynamicTransformationScript.num7+")");
_EsdDynamicTransformationScript.esd3TagNum3ContentN = $(".nav .nav_list>li:eq(4) .subNav .mol_tabs .modal-list #subNavBjspxxba a:eq("+_EsdDynamicTransformationScript.num8+")");
_EsdDynamicTransformationScript.esd3TagNum4ContentN = "";

//第一块
_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {
	console.log("1");
	e = $(this).mouseover();
	$(this).bind("keydown.keydown_1", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
			console.log(document.activeElement);
			return false;
		}
	});

});
_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
	$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
	$(this).bind("keydown.keydown_s1", function (e) {
		if (e.shiftKey && e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd3TagNum1.focus();
			return false;
		}
	});
});
_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
	$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
	$(this).bind("keydown.keydown_e1", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd3TagNum2.focus();
			return false;
		}
	});
});
_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
	$(this).unbind("keydown.keydown_e1");
});
//第二块
_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
	console.log(2);
	e = $(this).mouseover();
	$(this).bind("keydown.keydown_2", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
			_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
			return false;
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
			console.log(document.activeElement);
			return false;
		}
	});

});
_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
	$(this).unbind("keydown.keydown_2");
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.focus(function () {
	$(this).bind("keydown.keydown_s2", function (e) {
		if (e.shiftKey && e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd3TagNum2.focus();
			return false;
		}
	});
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.blur(function () {
	$(this).unbind("keydown.keydown_s2");
});

_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus(function () {
	$(this).bind("keydown.keydown_e2", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd3TagNum3.focus();
			return false;
		}
	});
});
_EsdDynamicTransformationScript.esd3TagNum2ContentN.blur(function () {
	$(this).unbind("keydown.keydown_e2");
});

//第三块
_EsdDynamicTransformationScript.esd3TagNum3.focus(function (e) {
	console.log(3);
	e = $(this).mouseover();
	$(this).bind("keydown.keydown_3", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
			_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus();
			return false;
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd3TagNum3Content1.focus();
			console.log(document.activeElement);
			return false;
		}
	});

});
_EsdDynamicTransformationScript.esd3TagNum3.blur(function () {
	$(this).unbind("keydown.keydown_3");
});

_EsdDynamicTransformationScript.esd3TagNum3Content1.focus(function () {
	$(this).bind("keydown.keydown_s3", function (e) {
		if (e.shiftKey && e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd3TagNum3.focus();
			return false;
		}
	});
});

_EsdDynamicTransformationScript.esd3TagNum3Content1.blur(function () {
	$(this).unbind("keydown.keydown_s3");
});

_EsdDynamicTransformationScript.esd3TagNum3ContentN.focus(function () {
	$(this).bind("keydown.keydown_e3", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd3TagNum4.focus();
			return false;
		}
	});
});
_EsdDynamicTransformationScript.esd3TagNum3ContentN.blur(function () {
	$(this).unbind("keydown.keydown_e3");
});

//第四块
_EsdDynamicTransformationScript.esd3TagNum4.focus(function (e) {
	console.log(4);
	e = $(this).mouseover();
	$(this).bind("keydown.keydown_4", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd3TagNum3.mouseover();
			_EsdDynamicTransformationScript.esd3TagNum3ContentN.focus();
			return false;
		}else if (e.keyCode == 9) {
			_EsdDynamicTransformationScript.esd3TagNum4Content1.focus();
			console.log(document.activeElement);
			return false;
		}
	});

});
_EsdDynamicTransformationScript.esd3TagNum4.blur(function () {
	$(this).unbind("keydown.keydown_4");
});

//------------------------------------------------导航处理代码-------------------------------
	//轮播,右下角原点--鼠标点击触发情况
	
	//轮播：只获取轮播中一个a标签。
	//以文字a标签为主，图片a标签尽量不要，title不稳定
	
	//轮播前的标签
	_EsdDynamicTransformationScript.esdTagFrontNum1 = $(".index_main p:eq(0) a");
	
	//文字A标签
	_EsdDynamicTransformationScript.esdTagANum1 = $(".mol_pic_news .mol_pic:eq(0) .mol_news_title a");
	_EsdDynamicTransformationScript.esdTagANum2 = $(".mol_pic_news .mol_pic:eq(1) .mol_news_title a");
	_EsdDynamicTransformationScript.esdTagANum3 = $(".mol_pic_news .mol_pic:eq(2) .mol_news_title a");
	_EsdDynamicTransformationScript.esdTagANum4 = $(".mol_pic_news .mol_pic:eq(3) .mol_news_title a");
	
	//原点
	_EsdDynamicTransformationScript.esdTagCircleNum1 = $(".mol_pic_news .news_pages span:eq(0)");
	_EsdDynamicTransformationScript.esdTagCircleNum2 = $(".mol_pic_news .news_pages span:eq(1)");
	_EsdDynamicTransformationScript.esdTagCircleNum3 = $(".mol_pic_news .news_pages span:eq(2)");
	_EsdDynamicTransformationScript.esdTagCircleNum4 = $(".mol_pic_news .news_pages span:eq(3)");
	
	//轮播后的标签
	_EsdDynamicTransformationScript.esdTagAfterNum1 = $(".mol_index_zyxw .modal-tit .tit a:eq(0)");


	//轮播前的焦点
	_EsdDynamicTransformationScript.esdTagFrontNum1.focus(function (e) {
		$(document).bind("keydown.keydown_0", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagCircleNum1.click();
				_EsdDynamicTransformationScript.esdTagANum1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagFrontNum1.blur(function () {
		$(document).unbind("keydown.keydown_0");
	});
	
	

	//第一块
	_EsdDynamicTransformationScript.esdTagANum1.focus(function (e) {
		
		_EsdDynamicTransformationScript.esdTagCircleNum1.click();
		$(document).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagCircleNum2.click();
				_EsdDynamicTransformationScript.esdTagANum2.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTagANum1.blur(function () {
		$(document).unbind("keydown.keydown_1");
	});

	//第二块
	_EsdDynamicTransformationScript.esdTagANum2.focus(function (e) {
		
		_EsdDynamicTransformationScript.esdTagCircleNum2.click();
		$(document).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTagCircleNum1.click();
				_EsdDynamicTransformationScript.esdTagANum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagCircleNum3.click();
				_EsdDynamicTransformationScript.esdTagANum3.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTagANum2.blur(function () {
		$(document).unbind("keydown.keydown_2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esdTagANum3.focus(function (e) {
		
		_EsdDynamicTransformationScript.esdTagCircleNum3.click();
		$(document).bind("keydown.keydown_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTagCircleNum2.click();
				_EsdDynamicTransformationScript.esdTagANum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagCircleNum4.click();
				_EsdDynamicTransformationScript.esdTagANum4.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTagANum3.blur(function () {
		$(document).unbind("keydown.keydown_3");
	});
	
	//第四块
	_EsdDynamicTransformationScript.esdTagANum4.focus(function (e) {
		
		_EsdDynamicTransformationScript.esdTagCircleNum4.click();
		$(document).bind("keydown.keydown_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTagCircleNum3.click();
				_EsdDynamicTransformationScript.esdTagANum3.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagAfterNum1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTagANum4.blur(function () {
		$(document).unbind("keydown.keydown_4");
	});
	
	//轮播后的焦点
	_EsdDynamicTransformationScript.esdTagAfterNum1.focus(function (e) {
		
		$(document).bind("keydown.keydown_5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTagCircleNum4.click();
				_EsdDynamicTransformationScript.esdTagANum4.focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});

	});
	_EsdDynamicTransformationScript.esdTagAfterNum1.blur(function () {
		$(document).unbind("keydown.keydown_5");
	});


if(location.href=="http://scjg.jl.gov.cn/" || location.href=="http://scjg.jl.gov.cn/index.html"){
	
//第四部分

	//各个选项名称对应的内容数量
	_EsdDynamicTransformationScript.num10 = $(".mol_index_zyxw .modal-list #zyxw a").length-1;
	_EsdDynamicTransformationScript.num11 = $(".mol_index_zyxw .modal-list #gzdt a").length-1;
	_EsdDynamicTransformationScript.num12 = $(".mol_index_zyxw .modal-list #jcdtes a").length-1;
	
	//各个选项名称
	_EsdDynamicTransformationScript.esd4TagNum1 = $(".mol_index_zyxw .modal-tit .tit a:eq(0)");
	_EsdDynamicTransformationScript.esd4TagNum2 = $(".mol_index_zyxw .modal-tit .tit a:eq(1)");
	_EsdDynamicTransformationScript.esd4TagNum3 = $(".mol_index_zyxw .modal-tit .tit a:eq(2)");
	
	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd4TagNum1Content1 = $(".mol_index_zyxw .modal-list #zyxw a:eq(0)");
	_EsdDynamicTransformationScript.esd4TagNum2Content1 = $(".mol_index_zyxw .modal-list #gzdt a:eq(0)");
	_EsdDynamicTransformationScript.esd4TagNum3Content1 = $(".mol_index_zyxw .modal-list #jcdtes a:eq(0)");
	
	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd4TagNum1ContentN = $(".mol_index_zyxw .modal-list #zyxw a:eq("+_EsdDynamicTransformationScript.num10+")");
	_EsdDynamicTransformationScript.esd4TagNum2ContentN = $(".mol_index_zyxw .modal-list #gzdt a:eq("+_EsdDynamicTransformationScript.num11+")");
	_EsdDynamicTransformationScript.esd4TagNum3ContentN = $(".mol_index_zyxw .modal-list #jcdtes a:eq("+_EsdDynamicTransformationScript.num12+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd4TagNum1.focus(function (e) {
		
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd4TagNum1.blur(function () {
		$(document).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd4TagNum1Content1.focus(function () {
		$(document).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum1Content1.blur(function () {
		$(document).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus(function () {
		$(document).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum1ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e1");
	});
	//第二块
	_EsdDynamicTransformationScript.esd4TagNum2.focus(function (e) {
		console.log(1);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd4TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd4TagNum2.blur(function () {
		$(document).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd4TagNum2Content1.focus(function () {
		$(document).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum2.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd4TagNum2Content1.blur(function () {
		$(document).unbind("keydown.keydown_s2");
	});

	_EsdDynamicTransformationScript.esd4TagNum2ContentN.focus(function () {
		$(document).bind("keydown.keydown_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum2ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd4TagNum3.focus(function (e) {
		console.log(1);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd4TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd4TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum3Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd4TagNum3.blur(function () {
		$(document).unbind("keydown.keydown_3");
	});

//第五部分

	//各个选项名称对应的内容数量
	_EsdDynamicTransformationScript.num13 = $(".mol_index_gsgg .modal-list #gongsgg a").length-1;
	_EsdDynamicTransformationScript.num14 = $(".mol_index_gsgg .modal-list #zxtz a").length-1;
	_EsdDynamicTransformationScript.num15 = "";
	
	//各个选项名称
	_EsdDynamicTransformationScript.esd5TagNum1 = $(".mol_index_gsgg .modal-tit a:eq(0)");
	_EsdDynamicTransformationScript.esd5TagNum2 = $(".mol_index_gsgg .modal-tit a:eq(1)");
	_EsdDynamicTransformationScript.esd5TagNum3 = $(".mol_index_gsgg .modal-tit a:eq(2)");
	
	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd5TagNum1Content1 = $(".mol_index_gsgg .modal-list #gongsgg a:eq(0)");
	_EsdDynamicTransformationScript.esd5TagNum2Content1 = $(".mol_index_gsgg .modal-list #zxtz a:eq(0)");
	_EsdDynamicTransformationScript.esd5TagNum3Content1 = $(".mol_index_gwy .modal-tit a:eq(0)");
	
	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd5TagNum1ContentN = $(".mol_index_gsgg .modal-list #gongsgg a:eq("+_EsdDynamicTransformationScript.num13+")");
	_EsdDynamicTransformationScript.esd5TagNum2ContentN = $(".mol_index_gsgg .modal-list #zxtz a:eq("+_EsdDynamicTransformationScript.num14+")");
	_EsdDynamicTransformationScript.esd5TagNum3ContentN = "";
	
	//第一块
	_EsdDynamicTransformationScript.esd5TagNum1.focus(function (e) {
		
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd5TagNum1.blur(function () {
		$(document).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd5TagNum1Content1.focus(function () {
		$(document).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum1Content1.blur(function () {
		$(document).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus(function () {
		$(document).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum1ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e1");
	});
	//第二块
	_EsdDynamicTransformationScript.esd5TagNum2.focus(function (e) {
		console.log(1);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd5TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd5TagNum2.blur(function () {
		$(document).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd5TagNum2Content1.focus(function () {
		$(document).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum2.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd5TagNum2Content1.blur(function () {
		$(document).unbind("keydown.keydown_s2");
	});

	_EsdDynamicTransformationScript.esd5TagNum2ContentN.focus(function () {
		$(document).bind("keydown.keydown_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd5TagNum2ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd5TagNum3.focus(function (e) {
		console.log(1);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd5TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd5TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd5TagNum3Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd5TagNum3.blur(function () {
		$(document).unbind("keydown.keydown_3");
	});

//第六部分
	_EsdDynamicTransformationScript.part6Interval = setInterval(function(){
		if(($(".mol_index_gwy .modal-list #gwy a:eq(0)")[0]!=undefined) && ($(".mol_index_gwy .modal-list #szf a:eq(0)")!=undefined) ){
			clearInterval(_EsdDynamicTransformationScript.part6Interval);
		
			//各个选项名称对应的内容数量
			_EsdDynamicTransformationScript.num16 = $(".mol_index_gwy .modal-list #gwy a").length-1;
			_EsdDynamicTransformationScript.num17 = $(".mol_index_gwy .modal-list #szf a").length-1;
			
			//各个选项名称
			_EsdDynamicTransformationScript.esd6TagNum1 = $(".mol_index_gwy .modal-tit a:eq(0)");
			_EsdDynamicTransformationScript.esd6TagNum2 = $(".mol_index_gwy .modal-tit a:eq(1)");
			
			//各个选项中的第一个内容
			_EsdDynamicTransformationScript.esd6TagNum1Content1 = $(".mol_index_gwy .modal-list #gwy a:eq(0)");
			_EsdDynamicTransformationScript.esd6TagNum2Content1 = $(".mol_index_gwy .modal-list #szf a:eq(0)");
			
			//各个选项中的最后一个内容
			_EsdDynamicTransformationScript.esd6TagNum1ContentN = $(".mol_index_gwy .modal-list #gwy a:eq("+_EsdDynamicTransformationScript.num16+")");
			_EsdDynamicTransformationScript.esd6TagNum2ContentN = $(".mol_index_gwy .modal-list #szf a:eq("+_EsdDynamicTransformationScript.num17+")");
			
			//第一块
			_EsdDynamicTransformationScript.esd6TagNum1.focus(function (e) {
				
				e = $(this).mouseover();
				$(document).bind("keydown.keydown_1", function (e) {
					if(e.shiftKey&&e.keyCode==9){
						
					}else if (e.keyCode == 9) {
						_EsdDynamicTransformationScript.esd6TagNum1Content1.focus();
						console.log(document.activeElement);
						return false;
					}
				});
		
			});
			_EsdDynamicTransformationScript.esd6TagNum1.blur(function () {
				
				$(document).unbind("keydown.keydown_1");
			});
		
			_EsdDynamicTransformationScript.esd6TagNum1Content1.focus(function () {
				$(document).bind("keydown.keydown_s1", function (e) {
					if (e.shiftKey && e.keyCode == 9) {
						_EsdDynamicTransformationScript.esd6TagNum1.focus();
						return false;
					}
				});
			});
			_EsdDynamicTransformationScript.esd6TagNum1Content1.blur(function () {
				$(document).unbind("keydown.keydown_s1");
			});
		
			_EsdDynamicTransformationScript.esd6TagNum1ContentN.focus(function () {
				$(document).bind("keydown.keydown_e1", function (e) {
					if(e.shiftKey&&e.keyCode==9){
						
					}else if (e.keyCode == 9) {
						_EsdDynamicTransformationScript.esd6TagNum2.focus();
						return false;
					}
				});
			});
			_EsdDynamicTransformationScript.esd6TagNum1ContentN.blur(function () {
				$(document).unbind("keydown.keydown_e1");
			});
			
			//第二块
			_EsdDynamicTransformationScript.esd6TagNum2.focus(function (e) {
				e = $(this).mouseover();
				$(document).bind("keydown.keydown_2", function (e) {
					if(e.shiftKey&&e.keyCode==9){
						_EsdDynamicTransformationScript.esd6TagNum1.mouseover();
						_EsdDynamicTransformationScript.esd6TagNum1ContentN.focus();
						return false;
					}else if (e.keyCode == 9) {
						_EsdDynamicTransformationScript.esd6TagNum2Content1.focus();
						console.log(document.activeElement);
						return false;
					}
				});
		
			});
			_EsdDynamicTransformationScript.esd6TagNum2.blur(function () {
				$(document).unbind("keydown.keydown_2");
			});
		}
	}, 500);
//第七部分

	//各个选项名称对应的内容数量
	_EsdDynamicTransformationScript.num18 = $("#ban a").length-1;
	_EsdDynamicTransformationScript.num19 = $("#cha a").length-1;
	_EsdDynamicTransformationScript.num20 = $("#kan a").length-1;
	_EsdDynamicTransformationScript.num21 = $("#pin a").length-1;
	_EsdDynamicTransformationScript.num22 = $("#wen a").length-1;
	
	//各个选项名称
	_EsdDynamicTransformationScript.esd7TagNum1 = $(".mol_fw1 .mol_con .modal-tit .index_fw_tit a:eq(0)");
	_EsdDynamicTransformationScript.esd7TagNum2 = $(".mol_fw1 .mol_con .modal-tit .index_fw_tit a:eq(1)");
	_EsdDynamicTransformationScript.esd7TagNum3 = $(".mol_fw1 .mol_con .modal-tit .index_fw_tit a:eq(2)");
	_EsdDynamicTransformationScript.esd7TagNum4 = $(".mol_fw1 .mol_con .modal-tit .index_fw_tit a:eq(3)");
	_EsdDynamicTransformationScript.esd7TagNum5 = $(".mol_fw1 .mol_con .modal-tit .index_fw_tit a:eq(4)");
	
	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd7TagNum1Content1 = $("#ban a:eq(0)");
	_EsdDynamicTransformationScript.esd7TagNum2Content1 = $("#cha a:eq(0)");
	_EsdDynamicTransformationScript.esd7TagNum3Content1 = $("#kan a:eq(0)");
	_EsdDynamicTransformationScript.esd7TagNum4Content1 = $("#pin a:eq(0)");
	_EsdDynamicTransformationScript.esd7TagNum5Content1 = $("#wen a:eq(0)");
	
	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd7TagNum1ContentN = $("#ban a:eq("+_EsdDynamicTransformationScript.num18+")");
	_EsdDynamicTransformationScript.esd7TagNum2ContentN = $("#cha a:eq("+_EsdDynamicTransformationScript.num19+")");
	_EsdDynamicTransformationScript.esd7TagNum3ContentN = $("#kan a:eq("+_EsdDynamicTransformationScript.num20+")");
	_EsdDynamicTransformationScript.esd7TagNum4ContentN = $("#pin a:eq("+_EsdDynamicTransformationScript.num21+")");
	_EsdDynamicTransformationScript.esd7TagNum5ContentN = $("#wen a:eq("+_EsdDynamicTransformationScript.num22+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd7TagNum1.focus(function (e) {
		
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				console.log("1");
				_EsdDynamicTransformationScript.esd7TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd7TagNum1.blur(function () {
		$(document).unbind("keydown.keydown_1");
		$(this).mouseout(); 
	});

	_EsdDynamicTransformationScript.esd7TagNum1Content1.focus(function () {
		$(document).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum1Content1.blur(function () {
		$(document).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd7TagNum1ContentN.focus(function () {
		$(document).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum1ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e1");
	});
	//第二块
	_EsdDynamicTransformationScript.esd7TagNum2.focus(function (e) {
		console.log(1);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd7TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd7TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd7TagNum2.blur(function () {
		$(document).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd7TagNum2Content1.focus(function () {
		$(document).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum2.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd7TagNum2Content1.blur(function () {
		$(document).unbind("keydown.keydown_s2");
	});

	_EsdDynamicTransformationScript.esd7TagNum2ContentN.focus(function () {
		$(document).bind("keydown.keydown_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum2ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd7TagNum3.focus(function (e) {
		console.log(1);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd7TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd7TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum3Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd7TagNum3.blur(function () {
		$(document).unbind("keydown.keydown_3");
	});

	_EsdDynamicTransformationScript.esd7TagNum3Content1.focus(function () {
		$(document).bind("keydown.keydown_s3", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum3.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd7TagNum3Content1.blur(function () {
		$(document).unbind("keydown.keydown_s3");
	});

	_EsdDynamicTransformationScript.esd7TagNum3ContentN.focus(function () {
		$(document).bind("keydown.keydown_e3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum4.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum3ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e3");
	});
	
	//第四块
	_EsdDynamicTransformationScript.esd7TagNum4.focus(function (e) {
		console.log(1);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd7TagNum3.mouseover();
				_EsdDynamicTransformationScript.esd7TagNum3ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum4Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd7TagNum4.blur(function () {
		$(document).unbind("keydown.keydown_4");
	});

	_EsdDynamicTransformationScript.esd7TagNum4Content1.focus(function () {
		$(document).bind("keydown.keydown_s4", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum4.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd7TagNum4Content1.blur(function () {
		$(document).unbind("keydown.keydown_s4");
	});

	_EsdDynamicTransformationScript.esd7TagNum4ContentN.focus(function () {
		$(document).bind("keydown.keydown_e4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum5.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum4ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e4");
	});
	
	//第五块
	_EsdDynamicTransformationScript.esd7TagNum5.focus(function (e) {
		console.log(1);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd7TagNum4.mouseover();
				_EsdDynamicTransformationScript.esd7TagNum4ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum5Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd7TagNum5.blur(function () {
		$(document).unbind("keydown.keydown_5");
	});
	
	// 服务之间相互切换
	$(".mol_fw1 .index_fw1_footer>a:eq(2)").focus(function (e) {
		$(document).bind("keydown.keydown_fuwu", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				if($(".mol_fw2").is(":hidden")){
					$(".fw-next").click();
				}
				$(".mol_fw2 a:eq(0)").focus();
				return false;
			}
		});

	});
	$(".mol_fw1 .index_fw1_footer>a:eq(2)").blur(function () {
		$(document).unbind("keydown.keydown_fuwu");
	});
	
	// 服务之间相互切换
	$(".mol_fw2 a:eq(0)").focus(function (e) {
		$(document).bind("keydown.keydown_fuwu1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				if($(".mol_fw1").is(":hidden")){
					$(".fw-prev").click();
				}
				$(".mol_fw1 .index_fw1_footer>a:eq(2)").focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});

	});
	$(".mol_fw2 a:eq(0)").blur(function () {
		$(document).unbind("keydown.keydown_fuwu1");
	});
	
	//最后一个连接失去焦点出发mouseout是轮播继续滚动
	$(".mol_fw2 a:last").blur(function(){
		$(this).mouseout(); 
	});

//第八部分

	//各个选项名称对应的内容数量
	_EsdDynamicTransformationScript.num23 = $(".mol_index_gsgg .index_jg .modal-list #spcj a").length-1;
	_EsdDynamicTransformationScript.num24 = $(".mol_index_gsgg .index_jg .modal-list #cpzlcj a").length-1;
	_EsdDynamicTransformationScript.num25 = $(".mol_index_gsgg .index_jg .modal-list #bjspxxba a").length-1;
	_EsdDynamicTransformationScript.num26 = "";
	_EsdDynamicTransformationScript.num27 = $(".mol_index_gsgg .index_jg .modal-list #jsxx a").length-1;
	
	//各个选项名称
	_EsdDynamicTransformationScript.esd8TagNum1 = $(".mol_index_gsgg .index_jg .modal-tit a:eq(0)");
	_EsdDynamicTransformationScript.esd8TagNum2 = $(".mol_index_gsgg .index_jg .modal-tit a:eq(1)");
	_EsdDynamicTransformationScript.esd8TagNum3 = $(".mol_index_gsgg .index_jg .modal-tit a:eq(2)");
	_EsdDynamicTransformationScript.esd8TagNum4 = $(".mol_index_gsgg .index_jg .modal-tit a:eq(3)");
	_EsdDynamicTransformationScript.esd8TagNum5 = $(".mol_index_gsgg .index_jg .modal-tit a:eq(4)");
	
	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd8TagNum1Content1 = $(".mol_index_gsgg .index_jg .modal-list #spcj a:eq(0)");
	_EsdDynamicTransformationScript.esd8TagNum2Content1 = $(".mol_index_gsgg .index_jg .modal-list #cpzlcj a:eq(0)");
	_EsdDynamicTransformationScript.esd8TagNum3Content1 = $(".mol_index_gsgg .index_jg .modal-list #bjspxxba a:eq(0)");
	_EsdDynamicTransformationScript.esd8TagNum4Content1 = _EsdDynamicTransformationScript.esd8TagNum5;
	
	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd8TagNum1ContentN = $(".mol_index_gsgg .index_jg .modal-list #spcj a:eq("+_EsdDynamicTransformationScript.num23+")");
	_EsdDynamicTransformationScript.esd8TagNum2ContentN = $(".mol_index_gsgg .index_jg .modal-list #cpzlcj a:eq("+_EsdDynamicTransformationScript.num24+")");
	_EsdDynamicTransformationScript.esd8TagNum3ContentN = $(".mol_index_gsgg .index_jg .modal-list #bjspxxba a:eq("+_EsdDynamicTransformationScript.num25+")");
	_EsdDynamicTransformationScript.esd8TagNum4ContentN = "";
	
	//第一块
	_EsdDynamicTransformationScript.esd8TagNum1.focus(function (e) {
		console.log("1");
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd8TagNum1.blur(function () {
		$(document).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd8TagNum1Content1.focus(function () {
		$(document).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum1Content1.blur(function () {
		$(document).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd8TagNum1ContentN.focus(function () {
		$(document).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum1ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e1");
	});
	//第二块
	_EsdDynamicTransformationScript.esd8TagNum2.focus(function (e) {
		console.log(2);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd8TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd8TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd8TagNum2.blur(function () {
		$(document).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd8TagNum2Content1.focus(function () {
		$(document).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum2.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd8TagNum2Content1.blur(function () {
		$(document).unbind("keydown.keydown_s2");
	});

	_EsdDynamicTransformationScript.esd8TagNum2ContentN.focus(function () {
		$(document).bind("keydown.keydown_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum2ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd8TagNum3.focus(function (e) {
		console.log(3);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd8TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd8TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum3Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd8TagNum3.blur(function () {
		$(document).unbind("keydown.keydown_3");
	});

	_EsdDynamicTransformationScript.esd8TagNum3Content1.focus(function () {
		$(document).bind("keydown.keydown_s3", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum3.focus();
				return false;
			}
		});
	});

	_EsdDynamicTransformationScript.esd8TagNum3Content1.blur(function () {
		$(document).unbind("keydown.keydown_s3");
	});

	_EsdDynamicTransformationScript.esd8TagNum3ContentN.focus(function () {
		$(document).bind("keydown.keydown_e3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum4.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum3ContentN.blur(function () {
		$(document).unbind("keydown.keydown_e3");
	});
	
	
	//第四块
	_EsdDynamicTransformationScript.esd8TagNum4.focus(function (e) {
		console.log(4);
		e = $(this).mouseover();
		$(document).bind("keydown.keydown_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd8TagNum3.mouseover();
				_EsdDynamicTransformationScript.esd8TagNum3ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum4Content1.focus();
				_EsdDynamicTransformationScript.esd8TagNum4Content1.mouseover();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd8TagNum4.blur(function () {
		$(document).unbind("keydown.keydown_4");
	});

	
}









/**
 * 二级页
 */

// -------------------------------二级页------------------------------------
	if(location.href=="http://scjg.jl.gov.cn/jg/"){ //机构
		$(".h-tit a").focus(function(){
			$(this).mouseover();
		});
		$(".xglj_box a:first").focus(function () {
			$(this).bind("keydown.keydown_tab1", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					$(".h-tit a:eq(1)").mouseover();
					$(".mol_contents:eq(3) a:last").focus();
					return false;
				}
			});
		});
		$(".xglj_box a:first").blur(function () {
			$(this).unbind("keydown.keydown_tab1");
		});
	}
/**
 * 共通底部处理
 */
$(".footer .mol_select .link_select select[name='select']")[0].title=("省内市场监管导航");
$(".footer .mol_select .link_select select[name='select']")[1].title=("省级机构链接");
$(".footer .mol_select .link_select select[name='select']")[2].title=("直属单位网站");
	//定义跳转 使用jquery选择器语法
	//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	_EsdDynamicTransformationScript.navBlock.selector.top = ".banner";
	_EsdDynamicTransformationScript.navBlock.selector.nav = ".nav";
	_EsdDynamicTransformationScript.navBlock.selector.footer = ".footer";
	_EsdDynamicTransformationScript.navBlock.selector.main = ".index_main, .mol_main";
	// 左右
	if(location.href=="http://scjg.jl.gov.cn/jg/"){
		_EsdDynamicTransformationScript.navBlock.selector.left = ".leftJg";  
		_EsdDynamicTransformationScript.navBlock.selector.right = ".right_jg";  
	}else if(location.href=="http://scjg.jl.gov.cn/xw/"){
		_EsdDynamicTransformationScript.navBlock.selector.left = ".mol_newsleft";  
		_EsdDynamicTransformationScript.navBlock.selector.right = ".mol_newsRight";  
	}
	else {
		_EsdDynamicTransformationScript.navBlock.selector.left = "";  
		_EsdDynamicTransformationScript.navBlock.selector.right = "";
	}
	
	_EsdDynamicTransformationScript.navBlock.selector.content = ".main_lj";

	//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	_EsdDynamicTransformationScript.navBlock.activateArray = [
		".banner", ".header", ".nav", ".crumbs", ".index_main", ".index_main>p:eq(0)",  ".index_main .mol_pic_news", ".index_main .mol_index_zyxw", 
		".mol_index_gsgg:eq(0)",  ".mol_index_gwy:eq(0)", ".index_main>p:eq(2)", ".mol_index_gsgg:eq(1)", ".mol_index_gwy:eq(1)",
		".mol_index_gsgg:eq(2)", ".mol_index_gwy:eq(2)",  _EsdDynamicTransformationScript.navBlock.selector.left, 
		_EsdDynamicTransformationScript.navBlock.selector.right, _EsdDynamicTransformationScript.navBlock.selector.content, 
		".mol_news_list", ".picNews li", ".mol_main>div:last>a", ".mol_main>p>a", ".Mol_fwTop", ".mol_main>div:eq(4)>a",
		".Mol_fwBottom1", ".subNav_mol_fw2",
		".footer", ".footer .mol_select", ".footer .mol_footer_nav", ".footer .imglink",  ".footer .copyRight",
	]
	
	if(location.href == "http://scjg.jl.gov.cn/ztzl/"){
		_EsdDynamicTransformationScript.navBlock.activateArray.push(".mol_main>.mol_news_list1>.mol_news_list1");  // 添加一个新的
	}
	if(location.href == "http://scjg.jl.gov.cn/zw/" || location.href == "http://scjg.jl.gov.cn/jianguan/"
		|| location.href == "http://scjg.jl.gov.cn/fw/"  || location.href == "http://scjg.jl.gov.cn/hd/"){
		_EsdDynamicTransformationScript.navBlock.activateArray.push(".mol_news_list1");  // 添加一个新的
	}
	
	for(var i=0; i<_EsdDynamicTransformationScript.navBlock.activateArray.length;i++){
		if(_EsdDynamicTransformationScript.navBlock.activateArray[i]!=undefined){
			$(_EsdDynamicTransformationScript.navBlock.activateArray[i]).addClass("navBlock");
		}
	}
/**
 * 区域导航、调试开关
 */

$(document).bind("keydown.keydown_9001", function(e) {
	if (e.shiftKey && e.keyCode == 20) {
		$("*").focus(function() {
			$(this).css({
				"outline" : "2px dashed red"
			});
		});
		$("*").blur(function() {
			$(this).css({
				"outline" : "0px black"
			});
		});
	}
});

_EsdDynamicTransformationScript.navBlock.debug = true; // 是否是调试模式，调试模式有红边线，非调试模式关闭红边框
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
// 快捷键定义区
//_EsdDynamicTransformationScript.navBlock.key = {};

//_EsdDynamicTransformationScript.navBlock.key.top = "alt+1"; // (top)
//_EsdDynamicTransformationScript.navBlock.key.nav = "alt+2"; // (nav)
//_EsdDynamicTransformationScript.navBlock.key.main = "alt+3"; // (main)
//_EsdDynamicTransformationScript.navBlock.key.content = "alt+4"; // (content)
//_EsdDynamicTransformationScript.navBlock.key.left = "alt+5"; // (left)
//_EsdDynamicTransformationScript.navBlock.key.right = "alt+6"; // (right)
//_EsdDynamicTransformationScript.navBlock.key.footer = "alt+7"; // (footer)
//_EsdDynamicTransformationScript.navBlock.key.down = "alt+8"; // (down)
//_EsdDynamicTransformationScript.navBlock.key.up = "alt+9"; // (up);

// 以下变量主要用于区块跳转
_EsdDynamicTransformationScript.navBlock.sIndex = -1; // 当前栏目下标
_EsdDynamicTransformationScript.navBlock.maxIndex = -1; // 保存目前所有class="navBlock"的区域块总数量，栏目总量下标。
_EsdDynamicTransformationScript.navBlock.minIndex = 0; // 栏目数量起始下标

// 主要代码区域

// 导航跳转
_EsdDynamicTransformationScript.navBlock.keyShowSelect = function(i) {
	$(_EsdDynamicTransformationScript.navBlock.selector.activate).each(function(index, el) {
		if (i == index) {
			_EsdDynamicTransformationScript.navBlock.debugView(el);
			$(el).find("a").each(function(i, e) {
				if (i == 0) {
					$(e).focus();
				}
			});

		}
	});
}

// 获取所有class=navBlock的区域的总数量，初始化轮训所有需要跳转的块
$(_EsdDynamicTransformationScript.navBlock.selector.activate).each(function(index, ehx) {
	_EsdDynamicTransformationScript.navBlock.maxIndex++;
});



// 快捷键功能区域
// 跳转到头部alt+1(49)
$(document).keydown(function(e) {
	if (e.altKey && e.keyCode == 49) {
		_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.top);
	}

});
// 跳转到导航alt+2(50)
$(document).keydown(function(e) {
	if (e.altKey && e.keyCode == 50) {
		_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.nav);
	}

});
// 跳转到底部alt+3(51)
$(document).keydown(function(e) {
	if (e.altKey && e.keyCode == 51) {
		_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.footer);
	}
});

// 跳转到主要区域alt+4(52)
$(document).keydown(function(e) {
	if (e.altKey && e.keyCode == 52) {
		_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.main);
	}
});

// 跳转到左区域alt+5(53)
$(document).keydown(function(e) {
	if (e.altKey && e.keyCode == 53) {
		_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.left);
	}
});

// 跳转到右区域alt+6(54)
$(document).keydown(function(e) {
	if (e.altKey && e.keyCode == 54) {
		_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.right);
	}
});
// 跳转到正文区域alt+7(55)
$(document).keydown(function(e) {
	if (e.altKey && e.keyCode == 55) {
		_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.content);
	}
});
//前进alt+8(56)
$(document).keydown(function(e) {
	if (e.altKey && e.keyCode == 56) {
		if (_EsdDynamicTransformationScript.navBlock.sIndex < _EsdDynamicTransformationScript.navBlock.maxIndex) {
			_EsdDynamicTransformationScript.navBlock.sIndex++;
			_EsdDynamicTransformationScript.navBlock.keyShowSelect(_EsdDynamicTransformationScript.navBlock.sIndex);
		}
	}
});

// 后退alt+9(57)
$(document).keydown(function(e) {
	if (e.altKey && e.keyCode == 57) {
		if (_EsdDynamicTransformationScript.navBlock.sIndex > _EsdDynamicTransformationScript.navBlock.minIndex) {
			_EsdDynamicTransformationScript.navBlock.sIndex--;
			_EsdDynamicTransformationScript.navBlock.keyShowSelect(_EsdDynamicTransformationScript.navBlock.sIndex);
		}
	}
});
// 特定区域跳转
_EsdDynamicTransformationScript.navBlock.keySelectScroll = function(id) {
	if ($(id).length > 0) {
		_EsdDynamicTransformationScript.navBlock.debugView(id);
		$(id).find("a").each(function(index) {
			if (index == 0) {
				$(this).focus();
			}
		});
	} else {
	}

}
if (_EsdDynamicTransformationScript.navBlock.debug == true) {
	// 如果开启调试模式，添加调试绘制矩形边线
	$("body").append("<div id='show_top' class='lineshow'></div>");
	$("body").append("<div id='show_bottom' class='lineshow'></div>");
	$("body").append("<div id='show_left' class='lineshow'></div>");
	$("body").append("<div id='show_right' class='lineshow'></div>");
	$(".lineshow").css({
		"display" : "none"
	});
}
// 开启调试模式后会显示红边
_EsdDynamicTransformationScript.navBlock.debugView = function(e) {
	if (_EsdDynamicTransformationScript.navBlock.debug == true) {
		var x = $(e).offset();
		var w = parseInt($(e).css("width"));
		;
		var h = parseInt($(e).css("height"));
		$("#show_top").css({
			"z-index" : "9999",
			"border" : "red 2px solid",
			"position" : "absolute",
			"top" : x.top,
			"left" : x.left,
			"width" : w,
			"height" : "0px"
		});
		$("#show_bottom").css({
			"z-index" : "9999",
			"border" : "red 2px solid",
			"position" : "absolute",
			"top" : x.top + h,
			"left" : x.left,
			"width" : w,
			"height" : "0px"
		});
		$("#show_left").css({
			"z-index" : "9999",
			"border" : "red 2px solid",
			"position" : "absolute",
			"top" : x.top,
			"left" : x.left,
			"width" : "0px",
			"height" : h
		});
		$("#show_right").css({
			"z-index" : "9999",
			"border" : "red 2px solid",
			"position" : "absolute",
			"top" : x.top,
			"left" : x.left + w,
			"width" : "0px",
			"height" : h
		});
		$("html,body").animate({
			scrollTop : $("#show_top").offset().top
		}, 200);
		$(".lineshow").css({
			"display" : "block"
		});
	}
}
};
/**
 * 主入口方法
 */

if (window.jQuery == undefined) {
	var wzaInitInterval = setInterval(function(){	
		if(document.body!=null){
			clearInterval(wzaInitInterval);
			document.body.onload = function(){
				var esdJquery = document.createElement("script");
				esdJquery.setAttribute("type", "text/javascript");
				esdJquery.setAttribute("src", window.location.protocol + "//" + window.location.href.split("/")[2] + "/wza/bwscript/jquery-1.12.4.min.js");
				esdJquery.setAttribute("charset", "utf-8");
				esdJquery.setAttribute("id", "ESDWebAppInnerIframe");
				document.body.appendChild(esdJquery);
				var jqueryLoadInterval = setInterval(function () {
					if (window.jQuery != undefined) {
						clearInterval(jqueryLoadInterval);
						_EsdDynamicTransformationFunction(jQuery);
					}
				}, 500);
			};	
		}
	}, 500);
} else {
	jQuery(function(){
		_EsdDynamicTransformationFunction(jQuery);
	})
	
}
